package com.laowang.project.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import sun.util.calendar.BaseCalendar;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 客户订单对象 tb_customerorder
 *
 * @author laowang
 * @date 2021-12-30
 */
@NoArgsConstructor
@Data
public class TbCustomerorderVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private String number;

    private Long id;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") // 东8区
    private Date createon;

    @ApiModelProperty(value = "订单类型", required = false)
    private String orderstyle;

    @ApiModelProperty(value = "客户编号", required = false)
    private String customercode;

    @ApiModelProperty(value = "客户简称", required = false)
    private String customename;

    @ApiModelProperty(value = "验货方式", required = false)
    private String inspectionmethod;

    /**
     * 销售合计
     */
    @ApiModelProperty(value = "销售合计", required = false)
    private Long totalsales;

    @ApiModelProperty(value = "备注", required = false)
    private String remarks;

    @ApiModelProperty(value = "解析生产工单状态", required = false)
    private String sstatus;

    @ApiModelProperty(value = "解析生产工单状态", required = false)
    private String finishstatus;

    @ApiModelProperty(value = "产品编号", required = false)
    private String pronumber;

    @ApiModelProperty(value = "产品描述", required = false)
    private String pronname;

    @ApiModelProperty(value = "订单数量", required = false)
    private Long orderquantity;

    @ApiModelProperty(value = "库存单位", required = false)
    private String matunit;

    @ApiModelProperty(value = "送货说明", required = false)
    private String deliverynote;

    @ApiModelProperty(value = "加工要求/问题返修", required = false)
    private String demand;

    @ApiModelProperty(value = "产品类型(成品)", required = false)
    private String prostyle;

    @ApiModelProperty(value = "产品规格", required = false)
    private String prospec;

    @ApiModelProperty(value = "产品型号", required = false)
    private String protype;

    @ApiModelProperty(value = "财务属性", required = false)
    private String finatt;

    @ApiModelProperty(value = "加工方式", required = false)
    private String work;

    @ApiModelProperty(value = "原材料备注", required = false)
    private String remark;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") // 东8区
    private Date deliverytime;

    @ApiModelProperty(value = "单价", required = false)
    private BigDecimal unitprice;

    @ApiModelProperty(value = "已发货数量", required = false)
    private BigDecimal unfilledqty;

    private String orderstatus;// 订单状态

    private String ordernumber;//订单编号

    private String proname;// 产品描述



}
